﻿#pragma once

#include <hadoop/TaskContext.h>

namespace HadoopPipes {


	class MapContext: public TaskContext {
	public:

		/**
		* Access the InputSplit of the mapper.
		*/
		virtual const std::string& getInputSplit() = 0;

		/**
		* Get the name of the key class of the input to this task.
		*/
		virtual const std::string& getInputKeyClass() = 0;

		/**
		* Get the name of the value class of the input to this task.
		*/
		virtual const std::string& getInputValueClass() = 0;

	};
}